import axios from "axios";
import {
  BASE_URL,
  TIMEOUT
} from "./config";

const instance = axios.create();
instance.defaults.baseURL = BASE_URL;
instance.defaults.timeout = TIMEOUT;

instance.interceptors.request.use(( config => {
  return config;
}))

export default instance;
